package com.wwc.sc.service.impl;

import com.wwc.sc.service.OrderHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author WWC
 *
 * 服务降级处理类
 */
@Component
public class OrderHystrixFallBackServiceImpl implements OrderHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败，提示来自：spring-cloud-consumer-feign-hystrix-order-80";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败，提示来自：spring-cloud-consumer-feign-hystrix-order-80";
    }
}
